﻿namespace Sidvall.Data
{
    public class FilterCollection<TField> : System.Collections.ObjectModel.Collection<Filter<TField>>
    {
        #region Public Members

        #region Copy

        public FilterCollection<TField> Copy()
        {
            var items = new FilterCollection<TField>();
            foreach (var item in this)
                items.Add(item.Copy());

            return items;
        }

        #endregion

        #endregion
    }
}
